﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DjangoRESTFrameworkDAL.REST;
using Newtonsoft.Json;

namespace DjangoRESTFrameworkDAL.Model
{
    public class UserModel: IGet, IDelete, IPatch
    {
        [JsonProperty("url")]
        public string Url { get; set; }
        
        [JsonProperty("username")]
        public string Username { get; set; }
        
        [JsonProperty("email")]
        public string Email { get; set; }

        [JsonProperty("is_staff")]
        public bool IsStaff { get; set; }
    }
}
